package com.meiyou.mapper;

import com.meiyou.pojo.MeiyouHongbao;
import com.meiyou.pojo.MeiyouHongbaoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MeiyouHongbaoMapper {
    int countByExample(MeiyouHongbaoExample example);

    int deleteByExample(MeiyouHongbaoExample example);

    int deleteByPrimaryKey(Integer hId);

    int insert(MeiyouHongbao record);

    int insertSelective(MeiyouHongbao record);

    List<MeiyouHongbao> selectByExample(MeiyouHongbaoExample example);

    MeiyouHongbao selectByPrimaryKey(Integer hId);

    int updateByExampleSelective(@Param("record") MeiyouHongbao record, @Param("example") MeiyouHongbaoExample example);

    int updateByExample(@Param("record") MeiyouHongbao record, @Param("example") MeiyouHongbaoExample example);

    int updateByPrimaryKeySelective(MeiyouHongbao record);

    int updateByPrimaryKey(MeiyouHongbao record);
    
    int insHongbao(MeiyouHongbao hongbao);
    
    int insertHongBaoRetrunId(MeiyouHongbao record);
}